package com.inossem.warehousemanage_tv.bean;

import java.util.Date;
import java.util.List;

/**
 * 仓库概览-物料列表
 *
 * @author 詹建宇
 * @time on 2019/2/14 13:44
 * @email jianyu.zhan@inossem.com
 */
public class MatsBean {


    /**
     * material_list : [{"mat_code":"100002116","total":"4665.000","name_zh":"千克","unit_code":"KG","batch_list":[{"wbs_code":"","purchase_code":"4500586854","spec_stock":"","batch_number":"135.000","wbs_name":"","in_date":"2018-12-28 03:06:45","quality_code":"201811230009","in_code":"3110000766","batch_code":"20181123019","quality_date":"2018-11-23 09:45:31","in_voucher":"5001985737"},{"wbs_code":"","quality_date":"2018-12-27 12:04:01","purchase_code":"4500586854","in_date":"2018-12-27 12:45:54","spec_stock":"","wbs_name":"","batch_code":"20181227009","batch_number":"4530.000","in_voucher":"5002030221","quality_code":"201812270012","in_code":"3110002412"}],"mat_id":"34","mat_name":"汽油\\93#","name_en":""},{"batch_list":[{"wbs_code":"","in_voucher":"5002034876","batch_number":"16750.000","quality_code":"201812300001","quality_date":"2018-12-30 11:20:30","batch_code":"20181230002","spec_stock":"","purchase_code":"4500586853","wbs_name":"","in_code":"3110002501","in_date":"2018-12-30 11:26:03"}],"name_zh":"千克","mat_code":"100002118","unit_code":"KG","mat_id":"35","total":"16750.000","mat_name":"柴油\\0#","name_en":""}]
     * position_id : 2795
     * area_id : 29
     * location_id : 11
     */

    private String position_id;
    private String area_id;
    private String location_id;
    private List<MaterialListBean> material_list;

    public String getPosition_id() {
        return position_id;
    }

    public void setPosition_id(String position_id) {
        this.position_id = position_id;
    }

    public String getArea_id() {
        return area_id;
    }

    public void setArea_id(String area_id) {
        this.area_id = area_id;
    }

    public String getLocation_id() {
        return location_id;
    }

    public void setLocation_id(String location_id) {
        this.location_id = location_id;
    }

    public List<MaterialListBean> getMaterial_list() {
        return material_list;
    }

    public void setMaterial_list(List<MaterialListBean> material_list) {
        this.material_list = material_list;
    }

    public static class MaterialListBean {
        /**
         * mat_code : 100002116
         * total : 4665.000
         * name_zh : 千克
         * unit_code : KG
         * batch_list : [{"wbs_code":"","purchase_code":"4500586854","spec_stock":"","batch_number":"135.000","wbs_name":"","in_date":"2018-12-28 03:06:45","quality_code":"201811230009","in_code":"3110000766","batch_code":"20181123019","quality_date":"2018-11-23 09:45:31","in_voucher":"5001985737"},{"wbs_code":"","quality_date":"2018-12-27 12:04:01","purchase_code":"4500586854","in_date":"2018-12-27 12:45:54","spec_stock":"","wbs_name":"","batch_code":"20181227009","batch_number":"4530.000","in_voucher":"5002030221","quality_code":"201812270012","in_code":"3110002412"}]
         * mat_id : 34
         * mat_name : 汽油\93#
         * name_en :
         */

        private String mat_code;
        private String total;
        private String name_zh;
        private String unit_code;
        private String mat_id;
        private String mat_name;
        private String name_en;
        private List<BatchListBean> batch_list;

        public String getMat_code() {
            return mat_code;
        }

        public void setMat_code(String mat_code) {
            this.mat_code = mat_code;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getName_zh() {
            return name_zh;
        }

        public void setName_zh(String name_zh) {
            this.name_zh = name_zh;
        }

        public String getUnit_code() {
            return unit_code;
        }

        public void setUnit_code(String unit_code) {
            this.unit_code = unit_code;
        }

        public String getMat_id() {
            return mat_id;
        }

        public void setMat_id(String mat_id) {
            this.mat_id = mat_id;
        }

        public String getMat_name() {
            return mat_name;
        }

        public void setMat_name(String mat_name) {
            this.mat_name = mat_name;
        }

        public String getName_en() {
            return name_en;
        }

        public void setName_en(String name_en) {
            this.name_en = name_en;
        }

        public List<BatchListBean> getBatch_list() {
            return batch_list;
        }

        public void setBatch_list(List<BatchListBean> batch_list) {
            this.batch_list = batch_list;
        }

        public static class BatchListBean {
            /**
             * wbs_code :
             * purchase_code : 4500586854
             * spec_stock :
             * batch_number : 135.000
             * wbs_name :
             * in_date : 2018-12-28 03:06:45
             * quality_code : 201811230009
             * in_code : 3110000766
             * batch_code : 20181123019
             * quality_date : 2018-11-23 09:45:31
             * in_voucher : 5001985737
             */

            private String wbs_code;
            private String purchase_code;
            private String spec_stock;
            private String batch_number;
            private String wbs_name;
            private String quality_code;
            private String in_code;
            private String batch_code;
            private Date in_date;
            private Date quality_date;
            private String in_voucher;

            public String getWbs_code() {
                return wbs_code;
            }

            public void setWbs_code(String wbs_code) {
                this.wbs_code = wbs_code;
            }

            public String getPurchase_code() {
                return purchase_code;
            }

            public void setPurchase_code(String purchase_code) {
                this.purchase_code = purchase_code;
            }

            public String getSpec_stock() {
                return spec_stock;
            }

            public void setSpec_stock(String spec_stock) {
                this.spec_stock = spec_stock;
            }

            public String getBatch_number() {
                return batch_number;
            }

            public void setBatch_number(String batch_number) {
                this.batch_number = batch_number;
            }

            public String getWbs_name() {
                return wbs_name;
            }

            public void setWbs_name(String wbs_name) {
                this.wbs_name = wbs_name;
            }

            public String getQuality_code() {
                return quality_code;
            }

            public void setQuality_code(String quality_code) {
                this.quality_code = quality_code;
            }

            public String getIn_code() {
                return in_code;
            }

            public void setIn_code(String in_code) {
                this.in_code = in_code;
            }

            public String getBatch_code() {
                return batch_code;
            }

            public void setBatch_code(String batch_code) {
                this.batch_code = batch_code;
            }

            public String getIn_voucher() {
                return in_voucher;
            }

            public void setIn_voucher(String in_voucher) {
                this.in_voucher = in_voucher;
            }

            public Date getIn_date() {
                return in_date;
            }

            public void setIn_date(Date in_date) {
                this.in_date = in_date;
            }

            public Date getQuality_date() {
                return quality_date;
            }

            public void setQuality_date(Date quality_date) {
                this.quality_date = quality_date;
            }
        }
    }
}
